package edu.usm.cs.roberge;

public class Course {
	int id = 0;
	String courseName;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	
	@Override
	public boolean equals(Object object) {
		if (object instanceof Course) {
			return id == ((Course)object).id;
		}
		return false;
	}
}
